enum ActivitySaleMode {
  NO_LIMIT = "no_limit",
  ONLY_BRAND_SELLING = "only_brand_selling",
  ONLY_SPOKESMAN_CONSIGNMENT = "only_spokesman_consignment",
  ONLY_STORE_SELLING = "only_store_selling",
}

export const isActivitySaleMode = (val: any): val is ActivitySaleMode => {
  return [ActivitySaleMode.NO_LIMIT, ActivitySaleMode.ONLY_BRAND_SELLING, ActivitySaleMode.ONLY_SPOKESMAN_CONSIGNMENT, ActivitySaleMode.ONLY_STORE_SELLING].includes(val)
}

export default ActivitySaleMode;
